<template>
  <div>
    <h1>parentB</h1>
    <son-a></son-a>
    <son-b></son-b>
    <son-c></son-c>
  </div>
</template>

<script>
import SonA from "./SonA.vue";
import SonB from "./SonB.vue";
import SonC from "./SonC.vue";

export default {
  components: {
    SonA,
    SonB,
    SonC,
  },
  mounted() {
    this.$eventBus.$on("mingming", (msg) => {
      console.log(msg);
      console.log("周五了，周六感觉时间不够用来上自习，我8在这等你");
    });
  },
};
</script>

<style lang="scss" scoped>
</style>